/*
 * Node.h
 *
 *  Created on: Oct 1, 2010
 *      Author: Jacob
 */

#ifndef NODE_H_
#define NODE_H_
#include <string>
using std::string;


//REMOVE ME
#include <iostream>
using std::cout;


class Node
{
public:
	static Node* newNodeFromData(string placeholderData);
	Node* getNext();
	void setNext(Node* next);
	string getData();
	void setData(string newData);
	Node();
	virtual ~Node();
private:
	Node* next;
	string data;
	Node(string data);
};
#endif /* NODE_H_ */
